/* 全局样式 */

/* 重置样式 */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Element Plus 样式覆盖 */
.el-card {
  border-radius: 4px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  
  &:last-child {
    margin-bottom: 0;
  }
  
  .el-card__header {
    padding: 15px 20px;
    border-bottom: 1px solid #EBEEF5;
    font-weight: bold;
  }
  
  .el-card__body {
    padding: 20px;
  }
}

.el-button {
  &.is-round {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.el-dialog {
  border-radius: 4px;
  
  .el-dialog__header {
    padding: 20px;
    border-bottom: 1px solid #EBEEF5;
    
    .el-dialog__title {
      font-size: 16px;
      font-weight: bold;
    }
  }
  
  .el-dialog__body {
    padding: 20px;
  }
  
  .el-dialog__footer {
    padding: 15px 20px;
    border-top: 1px solid #EBEEF5;
  }
}

.el-menu {
  border-right: none;
}

.el-menu-item, .el-submenu__title {
  height: 50px;
  line-height: 50px;
} 